Automatic Defective Digital Motion Picture Pixel Detection

ABSTRACT

A computer-implemented method for automatically identifying defective pixels captured by a motion picture camera within a sequence of frames is disclosed. The method comprises applying a spatio-temporal metric for each pixel in each frame. The metrics are analyzed to determine which pixels have values exceeding a threshold. The operator is provided a graphical display allowing the operator to select either to repair and store the repaired frame with the sequence of motion picture frames of pixel data or just store the sequence of motion picture frames of pixel data.

The present application is a divisional application of U.S. applicationSer. No. 14/978,447, filed on Dec. 22, 2015, the full disclosure ofwhich is hereby incorporated herein by reference.

TECHNICAL FIELD

The present invention relates to digital motion picture cameras thatcapture sequences of digital motion picture frames, and moreparticularly to the automatic identification of defective pixel sensorswithin the digital motion picture cameras based upon a filmed sequenceof digital motion picture frames.

BACKGROUND ART

Digital camera systems that include sensor arrays (pixel sensors) aregenerally calibrated before being distributed. During calibration, bothdead pixels and stuck pixels are identified and electronic circuitswithin the camera correct this type of pixel corruption.

Other types of defective pixels are difficult to determine includingboth hot and cold pixels because the amount of corruption is variable,can be small compared to the signal level, and can depend on theunderlying signal. Because of the variation in pixel corruption, hot andcold pixels often go unnoticed during calibration and can lead toenhanced errors due to the use of the hot and cold pixels when differentscenes are filmed with different parameters (lighting conditions,colors, intensity, distances etc.).

Additionally during usage, digital cameras that include pixel sensorarrays may suffer as the result of sensor age, sensor deterioration,temperature fluctuations and other environmental conditions. Theseproblems are not normally detected during operation and may only bedetected in post processing of the digital motion picture sequence.

In traditional filmmaking—where the camera recorded images oncelluloid—the gate was the mechanism in the camera that positioned thefilm behind the lens as it was exposed to light. Occasionally dirt,lint, dust, hair, and other debris would stick in the gate and interferewith the exposure of the film. The potential damage caused by debris inthe gate could render a shot unusable.

Traditional filmmakers developed a protocol to address the problem ofdebris in the gate, called “Check the Gate”. When the director wassatisfied with a shot and ready to move to the next shot, the firstassistant camera operator would open the camera and examine the gate. Ifdebris or foreign material was found, the camera would be cleaned andthe material would be filmed again. If the gate was clean, the directorwould move on to the next shot.

SUMMARY OF THE EMBODIMENTS

In accordance with one embodiment of the invention, acomputer-implemented method for automatically identifying defectivepixels captured by a motion picture camera within a sequence of framesis disclosed. The methodology determines if there are defects in thepixel image sensor based on a recorded motion image sequence. Anoperator can set the threshold for detection of a defective pixel. Thethreshold can be based upon the severity of the defect as compared tothe other color channels at the pixel location and based upon a temporalfactor indicative of the amount of motion that occurs at the pixellocation within the scene. The threshold may be set lower when accuracyis essential such as in post-production whereas the threshold may behigher during filming where identification of defective pixels mayresult in replacement of the pixel sensor array by replacing the camera.During filming defects in the pixels are to be expected due toenvironmental conditions such as temperature and airborne particles.Additionally, during filming, operators recognize that it is unlikelythat any one take (sequence of motion picture images) will end up in thefinal motion picture film.

In one embodiment, the method comprises applying a spatio-temporalmetric for each pixel in each frame wherein the spatio-temporal metricweights the spatial severity of error in the pixel by a degree of motionat the pixel to produce a weighted spatio-temporal metric value. Theweighted spatio-temporal metric values for each pixel are compared to athreshold to automatically identify defective pixels within the sequenceof frames. In general, only one of the color channels will be defective.However, it is possible that all of the color channels are defectivewhen there is a white imbalance.

In an embodiment of the invention, the threshold includes two componentsa severity threshold and a persistence threshold.

In addition to identification of defective pixels, embodiments of thepresent invention may also include computer code for repairing pixelsthat are identified as being defective. Repairs can be made to one ormore pixels in one or more frames of the sequence. During analysis ofthe defective pixels, an operator would expect for a pixel to remaindefective over multiple frames and that a pixel may be identified asdefective for the entire sequence. It should be noted that a pixel canbe considered defective if only one color of the plurality of colorsshow a defect. Once the frames within the sequence have been repaired,the sequence may be output to a display or stored to memory.

In another embodiment of the invention, the methodology may beimplemented differently. In such an embodiment, for each color channelin a frame a spatial error metric for each pixel is calculated bycomparing a determined spatial error value of a first color channel witha determined spatial error value of at least a second color channel.

A spatio-temporal metric is then calculated for each pixel wherein thespatio-temporal metric weights the spatial error metric by a degree ofmotion at the pixel over a plurality of motion picture frames to producea spatio-temporal metric value. Once each of the frames in the sequencehad been processed, the spatio-temporal metric values are compared to athreshold to determine if spatio-temporal metric value exceeds thethreshold and if the spatio-temporal value exceeds the thresholdidentifying the corresponding pixel as defective. Embodiments of theinvention may also extract each color channel from the motion pictureframe and store each color channel in associated memory. Embodiments ofthe invention may also include determining a value characterizing motionfor each pixel within each frame of the sequence. The spatial errorvalue may be determined for each color channel by applying a spatialfilter to determine a difference between an observed pixel value and apredicted pixel value. A temporal filter may be applied to the datawithin the sequence of frames. For example, a temporal filter may beapplied to determine a value characterizing motion over a set of framesthat determines an amount of relative motion at a pixel location overthe set of frames. For each pixel, a spatial error value may also becalculated for each color channel by comparing an expected spatial valueto the actual spatial value for each pixel. In certain embodiments, thespatial error metric is determined by comparing all of the colorchannels.

The spatio-temporal metric in certain embodiments of the invention canbe represented as a combination of the spatial metric and a temporalfilter.

In embodiments of the invention, a score for each pixel identified asbeing defective can be determined. The score can be then be used by thedigital motion picture processor for identifying a maximum score at eachpixel and identifying the motion picture frame associated with themaximum score. By identifying the maximum score for each defectivepixel, an operator can review the frame having the greatest defect andcan judge whether the defect is significant enough to warrant furtherprocessing and repair without needing to review the entire sequence offrames.

The digital motion image processor may present on a graphical userinterface a listing of all of the detected defective pixels for reviewby an operator. The defective pixel may be identified on the graphicaluser interfaces as being lighter or darker than expected.

In certain embodiments, the digital motion image processor may presentto an operator on a graphical user interface an identification of theframe associated with the pixel having the highest score. The graphicaluser interface may also provide for user selection by the operator forselecting the frame associated with the pixel having the highest scoreand in response to selection of the frame graphically presenting theframe to the user for visual review.

In addition, the graphical user interface may provide for selection ofone or more defective pixels and in response to selection of one or morepixels automatically correcting the one or more defective pixels using aspatial filter algorithm and pixels proximate to the defective pixel.

In another embodiment of the invention, a sensor array may be checked todetermine if a sequence of frames meets with the visual inspection of anoperator, re-filming of the sequence needs to be performed due to thedefective pixels within the sequence or if the digital motion picturecamera used to film the sequence should be replaced with a new digitalmotion picture camera. First, a digital motion picture processorreceives a sequence of motion picture frames of pixel data to beanalyzed. The digital motion picture processor creates a spatio-temporalrepresentation of the pixel data and analyzes the spatio-temporalrepresentation of the pixel data to determine if the representationexceeds a threshold.

The digital motion picture processor displays for evaluation by theoperator one or more selected frames of pixel data that have anassociated spatio-temporal representation that exceeds the thresholdindicating that there is at least one defective pixel within the frame.The operator is provided with a graphical display allowing the operatorto select to either repair and store the sequence of motion pictureframes of pixel data or just store the sequence of motion picture framesof pixel data to memory.

In addition to the disclosed methodology, the methodology may beembodied in computer code on a computer readable medium as a computerprogram product. Additionally, the methodology may be embodied as asystem, wherein the system includes a digital motion image processor andmodules for analyzing spatial and temporal properties of a digitalmotion image sequence of frames to identify defective pixels within thesequence and an additional module that allows for repair of pixels thathave been identified as being defective.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing features of embodiments will be more readily understood byreference to the following detailed description, taken with reference tothe accompanying drawings, in which:

FIG. 1 is an exemplary flow chart explaining the methodology forprocessing a digital motion picture scene while on location to determineif there are any defective pixels that require the scene to bere-filmed;

FIG. 1A is a flow chart explaining the process of applying aspatio-temporal metric for each pixel with a sequence of motion pictureframes to automatically identify defective pixels and provide anoperator with a chance to review frames within the sequence and decideif the defective pixels need to undergo a repair process.

FIG. 2 is an exemplary flow chart explaining the methodology forprocessing a digital motion picture scene to determine if there are anydefective pixels that require the scene to be re-filmed or for the sceneto undergo further processing to correct any error in the digital motionpicture scene.

FIG. 2A shows an embodiment of the digital motion picture processor andthe various modules that contribute to determining if a pixel isdefective.

FIG. 3 is a more comprehensive version of the previous flowchartsshowing the methodology for determining if a digital motion picturescene includes defective pixels including determining spatial metrics,temporal metrics, quantile and extrema determinations.

FIG. 4 shows an exemplary convolution kernel of size 15×15 that can beused for noise reduction in spatial and temporal filtering;

FIG. 5 show an exemplary weighting curve representative of W forweighting the temporal filter image data.

FIG. 6A shows a 7×7 region of interest centered on the pixel of interestused for repairing the pixels.

FIG. 6B shows a 7×7 region for estimating the parameters of the repairwith assigned relative offsets.

FIG. 7 (7-1, 7-2) shows a 44×6 matrix based on the matrix in FIG. 6B.

FIG. 8 is a 5×6 matrix that represents the 5 central pixels to berepaired.

FIG. 9A is an 8×6 matrix that represents the 8 pixels surrounding therepair region. The pixels in the matrix seamlessly blend the repair intothe background.

FIG. 9B is the 7×7 region surrounding the pixel of interest.

FIG. 10 (10-1, 10-2) shows an exemplary transpose of Z.

FIG. 11 shows an exemplary local portion of a frame of data with pixelsbeing repaired and blended to correct for a defective pixel.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

Definitions. As used in this description and the accompanying claims,the following terms shall have the meanings indicated, unless thecontext otherwise requires:

The term “scene” shall refer to a sequence of consecutive motion pictureframes. A scene is generally thought of as the action in a singlelocation and continuous time. Thus, a scene refers to a set sequence andcontinuity of observation.

The term “dead pixel” refers to a pixel in an array of pixel sensors fora digital motion picture camera that does not record a signal. An imagewith a dead pixel appears dark at the location of the dead pixel.

The term “stuck pixel” refers to a saturated pixel in an array of pixelsensors. The pixel records a saturated signal and the resulting imageappears extremely bright at the location associated with the pixelsensor.

The term “hot pixel” refers to a pixel sensor that records a signal thatis elevated compared to a normal pixel. The resulting image includes apixel value that appears brighter than expected at the image locationassociated with the” hot pixel” sensor.

The term “cold pixel” refers to a pixel sensor that records a signalthat is depressed compared to a normal pixel. The resulting imageincludes a pixel value that appears darker than expected at imagelocation associated with the “cold pixel” sensor.

The term “defective pixel” shall mean any type of pixel corruptionincluding stuck pixels, dead pixels, hot pixels and cold pixels. Itshould be noted that hot and cold pixels can manifest themselves as theresult of environmental factors, such as temperature and sensor age.Additionally, environmental factors can degrade calibration that is doneby the manufacturer prior to selling the digital motion picture camera.Pixels may become defective at any time for a variety of reasons:temperature, physical damage, electromagnetic interference, sensor age.The term “spatio-temporal metric” refers to a measurement of a spatialerror at a pixel location that is weighted by the amount of motion atthe pixel location over a series of motion picture frames. Thus, whenpixels are evaluated and compared to a threshold, pixels that have ahigh spatial error will be flagged as begin defective. Additionally,pixels with a lower spatial error may also be flagged as a defectivepixel if motion occurs at that pixel in a digital motion picturesequence. Thus, the spatio-temporal metric measures whether there is adefect in the pixel sensor of the filming camera, but errors are alsoimpacted by the content being filmed. A pixel may be considereddefective for a first digital motion picture scene and may not beconsidered to be defective for a second digital motion picture sceneeven though the physical hardware at the pixel sensor is experiencing adefect in resolving the image due to the pixel experiencing motion inthe first digital motion picture scene and no motion in the seconddigital motion picture scene.

As shown in FIG. 1, embodiments of the invention process digital motionpicture frames captured using a digital motion picture camera 100 of ascene being filmed 110. The digital motion picture camera has a sensorarray wherein a location within the sensor array defines a pixel. Aftera filmmaker has captured a scene of digital motion picture and thedigital motion picture scene is stored in memory 130, the digital motionpicture is provided to a digital motion picture processor 120 forchecking to digital motion image sequence to identify any defectivepixels within sensor array and determining if one or more of the digitalmotion picture cameras needs to be replaced before moving on to filmanother scene. It is presumed that if a pixel is identified as beingdefective, the pixel will remain defective for the entire motion picturesequence, since the defect is related to the sensor array for the pixel.Problems that can affect the sensory array during filming includetemperature variations, overheating, and other influences. The digitalmotion picture processor may be configured to score frames of motionpicture and compare each frame to a threshold score. Thus, a scene mayhave one or more frames of motion picture with defective pixels;however, the defects may not rise to the level that the entire motionpicture sequence needs to be re-filmed. In the alternative, if thedefects in the pixels in one or more frames exceeds a threshold value,the frames will be marked and then provided to an operator to review themarked frames to determine if the scene needs to be filmed again or ifthe pixels need to undergo a correction process. It should be understoodthat the system can keep track of the number of defective pixels in eachmotion picture frame, the severity of defect for each pixel, and canidentify individual motion picture frames within the sequence where thedefective pixels have the greatest scores. Thus, an operator can bedirected to the frames in the motion picture sequence where the defectsare most objectionable. The operator would not need to review all of theframes in the motion picture sequence if the operator determines thatthe worst frames are of satisfactory quality.

FIG. 1A is a flow chart explaining the process of applying aspatio-temporal metric for each pixel with a sequence of motion pictureframes to automatically identify defective pixels and provide anoperator with a chance to review frames within the sequence and decideif the defective pixels need to undergo a repair process. The digitalmotion picture sequence is retrieved from memory and provided to themotion picture processor. The processor performs some basic tasks, suchas identifying the digital motion picture frames and processing themindividually. Once the frames are parsed and identified by a parserwithin the digital motion picture processor, the digital motion pictureprocessor applies a spatio-temporal metric for each pixel in each framewherein the spatio-temporal metric weights the severity of error in thepixel by a degree of motion at the pixel to produce the spatio-temporalmetric value 100A. It should be recognized that a the spatio-temporalmetric takes into account both the intensity of spatial differences ofpixels based upon the associated color values for the pixels and also bydetermining a motion measurement, for example, the luminance at a pixellocation over a series of pixels which can identify that motion occursat the pixel. This process is done for each frame of video in the motionpicture sequence. The frames are then compared to one or more thresholdvalues. The digital motion picture processor compares thespatio-temporal metric values for each pixel to a threshold toautomatically identify defective pixels within the sequence of frames110A. The threshold value may be based on one or more components such asseverity of error and persistence of the error over the sequence offrames. It should be clear that depending on the application of anembodiment of the invention, the threshold values can be set todifferent levels. If the motion picture processor is being used on setto determine if a reshoot is necessary, the threshold may be lower thanif the digital motion picture processor is used during an editing phase.During shooting, an operator recognizes that the majority of footagewill not make the final cut and therefore, defects may be present in thesequence of frames, so long as they are not severe. The main concern ofthe operator is whether the camera needs to be replaced because thereare severe defects that are persistent throughout the sequence. On theother hand, if the sequence is being used during the editing process andwill be part of the final motion picture, the threshold can be setlower. Thus, any perceptible error could be identified and undergorepair. If the operator determines that there are defective pixels thatneed to undergo repair, the operator can instruct the motion pictureprocessor to automatically repair the pixels. The motion pictureprocessor will then repair pixels within one or more frames of thesequence of frames that are identified as defective 120A. After thepixels are repair, the digital motion picture processor will output therepaired sequence of frames to a video display so that the operator canreview the repairs and confirm that the sequence of frames meet with hisapproval and can be edited into the motion picture 130A.

FIG. 2 is an exemplary flow chart explaining the methodology forprocessing a digital motion picture scene to determine if there are anydefective pixels that require the scene to be re-filmed or for the sceneto undergo further processing to correct any error in the digital motionpicture scene. It should be understood that embodiments of the presentinvention may be used during the filming of scenes in the field or maybe employed during the editing process. First, the digital motionpicture scene is received by a digital motion picture processor. 200 Thedigital motion picture scene is input into memory and the digital motionpicture scene is parsed by the digital motion picture processor byframe. 210 Each frame of digital motion picture is then analyzed todetermine if the digital motion picture frame contains one or morepixels that are defective by employing both spatial and temporalfilters. 220 Spatial and temporal metrics for the pixels within theframes are calculated. 230 The spatial and temporal metrics aredetermined for each frame of motion picture and the after the sequenceis completed, the spatial and temporal metrics are scored and comparedto one another to determine a list of candidate motion picture frames toreview 240. The candidate motion picture frames are the motion pictureframes that have defective pixels. The candidate frames may have a highnumber of defective pixels, may have defective pixels located within aspecific spatial region, or may show an extreme difference over time(e.g. between motion picture frames). The candidate list of frames canbe compared to threshold values for one or more of the spatial andtemporal metrics. If the frames fall below the threshold values, theframes will be considered to be “good enough” and do not need anyfurther evaluation. Thus, this methodology can eliminate the need forprofessional review of the motion picture frames. If one or more of thecandidate motion picture frames have one or more determined metrics thatare above a threshold, then these motion picture frames can be output tomotion picture display for review by an operator 250. The operator canthen determine whether or not the motion picture scene needs to bere-filmed or if filming can be continued where a new scene is filmed.

FIG. 2A shows an embodiment of the digital motion picture processor200A. The digital motion picture processor includes a data input 210A.The data input receives from memory the digital motion picture scenedata. The data is buffered in memory and a frame extractor 220A extractseach frame of video in accordance with the protocol in which the motionpicture sequence is stored (e.g. MPEG, MPEG4, ISO/IEC 15444-1“JPEG2000”, etc.) The color channels of each frame are parsed and passedto a spatial filter 230A while a representation of motion (e.g.luminance, the Green channel in isolation or a combination of Red,Green, and Blue channels in combination for motion analysis) aredirected to a temporal filter 240A. The frame extractor can buffer anumber of frames (e.g. 4, 6, 10, 20 etc.) wherein only the colorchannels for a single frame are passed to the spatial filter during atime period. The motion information for a plurality of frames is passedto a temporal filter 240A. The spatial filter module 230A appliesspatial filters to each of the individual color channels and outputs aspatial filter value for each pixel within the frame that suppresses thenoise. The resulting spatial filter color channel values are forwardedto a spatial metric module 250A. The spatial metric module 250Adetermines a difference between the filtered color channel values. Bycomparing the differences between the colors for a pixel, the spatialmetric module 250A measures the degree of defect wherein positive andnegative differences are indicative of light and dark variations in acolor. The temporal filter module 240A uses the motion characteristicdata such as the luminance to determine if there is motion at each pixelby comparing the motion characteristic data over a plurality of framesthat are proximate to the frame under consideration. The output array ofmotion information for each pixel is provided to the spatio-temporalmetric module 260A. The spatio-temporal metric module 260A receives inthe spatial metric values for each color channel of a frame along withthe temporal filter data for each pixel within the frame. In oneembodiment of the invention, the spatio-temporal module associates thevalues together and the values are passed on through to the thresholdcomparison and candidate list module 270A. In another embodiment of theinvention, the spatio-temporal module weighs the spatial metric valuesat each pixel by the temporal filter values to determine thespatio-temporal metric values for each pixel in the frame. The framedata is then passed to a threshold comparison and candidate list module270A. In one embodiment, the spatio-temporal metric values are storedfor each frame of video and then compared to a threshold. In otherembodiments of the invention, a quantile system is developed that storesvalues for a single frame and keeps track of the errors in color interms of both persistence (e.g. number of frames) and severity (e.g. 70%quantile etc.). A list of candidate pixels is determined by comparing toa threshold that may either be predefined or operator defined. Thethreshold may be set for both persistence and severity or a weightedversion of persistence and severity. If the spatio-temporal metric valuefor a pixel exceeds the threshold, the pixel is identified as defective.The module 270A may also keep track of the frame containing thedefective pixel and may increment a counter to determine the number offrames for which the pixel is defective. In conjunction with an operatorcontrol module 280A that allows an operator to have the data output to avideo display indicating where the errors are located by pixel location,in the number of frames, and the frame exhibiting the greatest severity.The operator control module 280A allows the operator to access the framedata and view the frame data to observe the defective pixels. Thus, theoperator control module 280A provides for operator control of thedigital motion picture processor and provides a graphical user interfaceto the operator. The operator control module 280A causes the thresholdcomparison and candidate list module 270A to populate a graphical userinterface and outputs the graphical user interface with therepresentative data for the defective pixels to on output 290A.Additionally, the operator control module 280A can access the originalimages (frames) from memory and have them displayed through the outputto a video display for review and further processing by the operator.The operator control module 280A may also have access to other modulessuch as a repair module that can be used for repairing defective pixeldata. An example of a repair of defective pixels is explained below.

FIG. 3 is a more comprehensive version of the flowchart of FIG. 2showing the methodology for determining if a digital motion picturescene includes defective pixels including determining spatial metrics,temporal metrics, quantile and extrema determinations. In a first step,the digital motion picture processor clears all registers 300. Theregisters store data for each color channel, the spatial filter data foreach color channel, the temporal filter data for each color channel, thespatial and temporal metrics for each color channel and may also storeintermediary calculations. The digital motion picture scene is firstprovided to a digital motion picture processor after being capturedduring a digital motion picture shoot for a scene. As noted, the digitalmotion picture processor includes a plurality of registers for storingcalculations. In the case of original camera footage, the entirerecorded sequence of the scene is processed. In the case of editedmaterial, an entire edited sequence is processed.

Each frame is first processed individually. The digital motion pictureprocessor receives as input the first digital motion picture frameparsed from the digital motion picture sequence 310. The individualcolor channels are extracted from the frame (e.g. R,G,B etc.) 320. Ifthe camera does not use Bayer-type pattern encoding or if the frame hasalready been debayered, the color channels will be of equal size withthe same horizontal and vertical dimension. If the digital motionpicture camera produces frames in a Bayer encoded forms, the colorchannels will be of different horizontal and vertical dimension whenreceived. Typically, the green channel is twice as large as the red andblue channels in the case of Bayered data. For simplicity in operation,the methodology extracts the channels from the frame and converts themto an equal size if necessary. It should be recognized that themethodology may also operate on Bayered data or other digital motionpicture data wherein not all of the channels are of equal size, howeverthe calculations would be more complex. When the data is extracted fromthe color channels, a nearest neighbor algorithm can be used to convertfrom a lower resolution to a higher resolution. Other known conversionalgorithms may also be employed without deviating from the scope of theinvention. During extraction, three sets of data are obtained. Forexample:

{R_(i)}, {G_(i)}, {B_(i)} where i indexes the pixels in the largestchannel or each channel for a frame may be referenced as R,G,B usingbold-faced letters. The subscript “i” indicates pixels within a frame.

If a luminance channel does not already exist, a luminance channel iscreated 330. Preferably, the luminance channel has a dimension that isequal to the largest color channel. The luminance channel is used tomeasure motion at each pixel and can be used to detect black and/orwhite pixel damage. For example to measure motion, the temporal metricis computed and to detect black and/or white pixel damage, the spatialmetric on the luminance channel is calculated.

The equation of the luminance channel is

Y_(i)=0.2*+0.7*+0.1*B_(i)

This yields an array of values:

-   Y={Y_(i)} where i indexes the pixels in the largest channel. In    digital cameras, it is common for the Red and Blue channels to be    recorded at half the resolution of the Green channel. A “4K” camera    might have a horizontal resolution of 1024 pixels for the Red    channel, 2048 pixels for the Green channel, and 1024 pixels for the    Blue channel. Added together, the resolution of the camera is 4096.    The largest channel in this case would be the Green channel.    It is equally common for electronics within the camera to deliver    three channels of equal resolution. Embodiments of the present    methodology for defective pixel detection are designed to work when    the color channels have mixed resolution. It is also designed to    work when the color channels have equal resolution.

For each color channel of the frame as defined by C, including theluminance channel, a sequence of spatial image filters are applied 340.A convolution kernel A is used to predict the value of the central pixelbased on its spatial neighbors. For example, the convolution kernelshown in FIG. 4 is an exemplary convolution kernel of size 15×15. Thisfilter is applied to each pixel of the image within each color channel.Filters besides the one in FIG. 4 may be applied that predict thecentral value based on spatial neighbors in the image and such filtersmay be of different sizes. Embodiments of the invention may use aconstant predictive model or other alternative predictive modelsincluding linear and non-linear filters.

As shown in FIG. 4 if all of the values in A are divided by 10,000, thekernel values would sum to 1.0. Any filter that creates a reliableprediction of the central pixel would be suitable to employ. The presentcircular filter is used since it treats pixels in all directionsequally. Using a kernel which sums to 1 guarantees unity gain sosubsequent computations are within a known range. Non-unity gains couldbe accommodated with corresponding adjustment to the range of subsequentcomputations.

The set of spatial filters are calculated for each color channel whereinC is the color data for all of the pixels within a motion picture frame.Preferably, the values of Z are calculated in order, however some of thecalculations may be performed in parallel or out of order. It should beclearly noted that Z₁ through Z₉ below are calculated for each colorchannel (e.g. R,G, B, and Y) for each motion picture frame.

Filter definition Filter description Z₁ = C * A the convolution of thechannel image, C, and the kernel, A Z₂ = C × C the channel values,squared pixel-by-pixel Z₃ = Z₂ * A the convolution of Z₂ and A Z₄ = Z₁ ×Z₁ the Z₁ values, squared pixel-by-pixel Z₅ = Z₃ − Z₄ the pixel-by-pixeldifference between Z₃ and Z₄ Z₆ = max (Z₅, 0.000001) the pixel-by-pixelmaximum of the pixel value and a constant Z₇ = sqrt (Z₆) thepixel-by-pixel square root of Z₆ Z8 = C − Z₁ The pixel-by-pixeldifference between C and Z₁ Z9 = abs(Z₈/Z₇) the absolute pixel-by-pixelration of Z₈ to Z₇

At each pixel, we assign the larger of Z₅ and 0 to Z₆.to prevent adivide-by-zero error when computing Z₉. At each pixel, Z₁ is the averagevalue within a small region surrounding that pixel. Z₃ is the averagesquared value within the region. Z₅ is the variance of the pixel valueswithin the region. Z₉ is the number of standard deviations the centralpixel deviates from its predicted value. Z₉ indicates with statisticalconfidence how much any pixel deviates from its predicted values. Stateddifferently, Z₉ is a good indication of how defective any pixel is. Itshould be recognized that other predictive models may be employedwithout deviating from the intended scope of the invention and thecalculations presented above in the table would be adjusted to reflectthe nature of the model.

After applying this sequence of filters in order to each channel, thefollowing arrays are created:

-   R^(S)={R^(S) _(i)}, G^(S)={G^(S) _(i)}, B^(S)={B^(S) _(i)}, and    Y^(S)={Y^(S) _(i)}

Each array results from applying the sequence of filters to theappropriate channel. The superscript S is used to be indicative of thespatial filter calculations. The output of the spatial filters Z₉represents a comparison between the actual color value and the predictedcolor value at the pixel. Z₉ is the difference between the observedpixel value C and the predicted value Z₁, then weighted by the standarddeviation. In other words, Z₉ is the number of standard deviations apixel deviates from its predicted value.

A temporal filter is then applied to the luminance channel 350. Thedifference between the current frame and other temporally local framesare determined. Often the other frames will be the previous and nextframes in the sequence, but can be any collection of frames. A smoothingkernel is used of a sufficient size to suppress noise. Any kernel thatwill suppress noise such as a low pass filter and that is of an adequatesize can be used and applied to the luminance channel. For example, thekernel as shown in FIG. 4 can be used. The kernel will be referenced bythe bolded letter A. (Note: it is just a coincidence that we use thesame kernel in previous step. In this step, A is used to smooth thesignal and reduce the effects of inter-frame camera noise. In theprevious step, A is used to predict the central pixel value fromsurrounding intra-frame pixels.) Other low pass filters could also beused. A sequence of filters using the luminance channel is then applied.

Filter definition Filter description Z₁ = Y the luminance values of thecurrent frame Z₂ = Y the luminance values of the previous frame Z₃ = Ythe luminance values of the next frame Z₄ = abs(Z₁ − Z₂) thepixel-by-pixel absolute difference between Z₁ and Z₂ Z₅ = abs(Z₁ − Z₃)the pixel-by-pixel absolute difference between Z₁ and Z₃ Z₆ = Z₄ * A theconvolution of Z₄ and the kernel A Z₇ = Z₅ * A the convolution of Z₅ andthe kernel A Z₈ = max(Z₆, Z₇) the pixel-by-pixel maximum of Z₆ and Z₇

After applying this sequence of filters in order to each channel, thefollowing array is created:

-   Y^(T)={Y^(T) _(i)}

The array results from applying the sequence of filters to the luminancechannel. The superscript T is used to be indicative of the temporalfilter calculations. The bigger the values that result in thiscalculation of the luminance channel the more motion that is present atthat pixel.

Spatial metrics are then determined for each pixel within a frame. 360For detecting defects in each color channel, the spatial metric for achannel is calculated an image of differences: the spatial filter of thechannel under consideration, less a combination of the spatial filtersof the other two channels. When detecting defects in all channels, thespatial metric is a combination of the individual channel spatialfilters.

In most cases, there will be three spatial metric images. A fourthspatial metric image will be computed when defects in all three-colorchannels are anticipated. The spatial metric values shall be positiveand negative corresponding to bright and dark defects.

For each color channel filter generated in in spatial filter processingstep 140A, the following calculations are applied. Please note that theletters “C”,“E”, and “F” each represent different color channels and thesuper script “S” represents that the image data is from the spatiallyfiltered data sets:

Metric definition Metric description Z₁ = abs(C^(S)) the pixel-by-pixelabsolute value of the color channel generated in determining the spatialfilter values Z₂ = sign(C^(S)) the pixel-by-pixel sign, −1 or +1, of thechannel Z₃ = abs(E^(S)) the pixel-by-pixel absolute value of a secondcolor channel generated in determining the spatial filter values Z₄ =abs(F^(S)) the pixel-by-pixel absolute value of the third color channelgenerated in determining the spatial filter values Z₅ = max(Z₃, Z₄) thepixel-by-pixel maximum of between Z₃ and Z₄ Z₆ = Z₁ − Z₅ thepixel-by-pixel difference between Z₁ and Z₅ Z₇ = Z₂ × Z₆ thepixel-by-pixel product of Z₂ and Z₆

After applying this sequence of steps in order to each channel, thefollowing arrays are created:

-   -   R^(SM)={R^(SM)}, G^(SM)={G^(SM)}, B^(SM)={B^(SM)} where the        super script SM is indicative of a spatial metric.

-   The spatial metric for the luminance channel is simply:

Y^(SM)=Y^(S)

The values of Z₇ provides an image modified metric for a single colorchannel (e.g. red) as compared to the other color channels (e.g. green,blue) Thus, as expressed above there are spatial metrics for each of thecolor channels. The metrics are either positive or negative representingwhether the color channel is light or dark in comparison to the othercolor channels.

For each spatial metric image, a spatio-temporal metric image is createdwith matching resolution 370. The spatio-temporal metric image is acombination of the spatial metric image and the temporal filter image.The combination can take the form of the spatial metric image less aweighted temporal filter image. Additionally, the combination can be thescaled spatial metric image relative to the temporal filter image. Itshould be obvious to one of ordinary skill in the art that othercombinations of the spatial and temporal filter and metric data can becombined together to define a temporal metric that represents both theseverity of the defect and the persistence of the defect over aplurality of frames.

FIG. 5 show an exemplary weighting curve representative of W that isused for the calculation of Z₁ in the table below. The function W is aweighting of the temporal filter image. The weighting function passesthrough the points wa and wb. For example these values may default to wa=(0, 0.1) and wb =(0.05, 1). That is W(0) =0.1 and W(0.05)=1, withlinear interpolation between these two points. It should be understoodby one of ordinary skill in the art that other weighting functions maybe applied having different shapes and passing through different points.

For each color channel and the luminance channel, the following methodsteps are applied to determine the temporal metrics in one embodiment ofthe invention.

Metric definition Metric description Z₁ = W(Y^(TF)) the function W,depicted in FIG. 5, applied to each pixel of the temporal filter imageZ₂ = C^(SF) × Z₁ the pixel-by-pixel product of the color channel of thecalculated spatial filter Z₃ = max(min(Z₂, t), −t) clip the values of Z₂to the range [−t, t]. t may for example be .1 Z₄ = Z₃/t normalize themetric to the range [−1, 1]

After applying this sequence of steps in order to each channel, thefollowing arrays are created:

R^(TM)={R^(TM) _(i)}, G^(TM)={G^(TM) _(i)}, B^(TM)={B^(TM) _(i)},Y^(TM)={Y^(TM) _(i)} where the superscript TM represents the temporalmetric

This methodology takes the raw magnitude of motion and rescales themotion to determine if the temporal errors reach a threshold where anordinary observer would be capable of perceiving errors in pixels overtime. For typical motion picture, if there is little motion happeningwithin the frame defects can be hard to spot, however if there is moremotion, the defects become more pronounced and are perceptible. Thegenerated images assume values between −1 and 1. The temporal metric maybe set to represent statistical significance of the defect. For, examplethe temporal metric may represent the number of standard deviations froma median value. By assuming values between −1 and 1, negative valuesrepresent dark pixel values whereas positive values represent brightpixel values.

Typically, a defect will occur in only a single color channel as theresult of a defect in one of the color sensors for a pixel. Themethodology expects that the defect for a pixel should be across framesand consistent. A comparison can then be made between frames todetermine if the error is a consistent error. As indicated above, errorsthat occur across multiple color sensors for a pixel, generally reflectwhite defects.

In one embodiment of the invention, the temporal metric image is madediscrete by dividing an image into quantiles for each color channelincluding luminance. 380. Quantization is chosen in order to avoid theneed to store all of the metric data for each image in the motionpicture sequence. For example, there may be 100 s or 1000 s of frames ofdata requiring an enormous amount of memory if all of the various arrayvalues are to be stored. Rather to conserve memory, for each quantile ofimage data and for each color channel, a set of registers is assigned.It should be recognized by one of ordinary skill in the art thatquantization is an optional component and may or may not be employed inembodiments of the invention. Quantization as described herein providesan efficient method for reducing the memory requirements of the abovedescribed calculations such that the data is presented for a singleimage (which is representative of all of the pixels of the camerasensor) and accumulated over the sequence of images rather than storingthe state for each image within the sequence.

As stated above, the generated temporal metric images assume valuesbetween −1 and 1. The number of quantiles is Q=(2×N+1), where N is aslarge as possible (e.g. 5, 10, 20 etc.). The quantile algorithm resetsall registers associated with the quantile calculations to zero. Then inone embodiment of the invention, for each new image the quantileregisters are aggregated according to the following operations:

Quantile definition Quantile description Z₁ = round(N × C^(TM)) thechannel C^(TM) is generated by the temporal metric. The resulting valuesZ₁ for each value q = −N to +N iterate through all the quantile values,q Z2 = indicator(Z₁ = q) the indicator function returns 1 if Z₁ is equalto q and 0 if Z₁ is not equal to q C^(T)[q] = C^(T)[q] + Z₂ accumulatethe number of times each pixel has quantile value q end of for loopiterate the loop for the next value of q

After applying this sequence of steps in order to each channel, thefollowing arrays are created for each quantile:

R^(TMq)={R^(TM) _(i)}¹, G^(TMq)={G^(TM) _(i)}^(q), B^(TMq)={B^(TM)_(i)}^(q), Y^(TMq)={Y^(TM) _(i)}^(q)

We represent the collection of all aggregate quantile registers as:

R^(TM)={R^(TMq)}, G^(TM)={G^(TMq)}, B^(TM)={B^(TMq)}, Y^(TM)={Y^(TMq)}

If N is 10 and all four color channels are processed, we will have 84aggregate quantile registers. There are four channels: R, G, B, Y. Eachchannel has (2N+1) separate registers. When N=10, the registers are −10,−9, −8, −7, −6, −5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

For each pixel, each aggregate quantile register records the number offrames where the value of the channel calculated in the temporal metriccalculation achieves that quantile value. By looking at the image datain terms of quantiles, a summary can be made across frames of motionpicture data. The Quantile data provides a summary of information aboutthe entire sequence.

The digital motion picture processor next keeps track of the framenumber and the value of the largest and smallest metric observed overthe entire collection of source frames 390. Temporal metric values lessthan zero correspond to dark defects and metric values greater than zerocorrespond to bright defects. The frame number and the largest andsmallest metric observed at each pixel is used to indicate which framethe operator of the system should examine to understand the severity ofthe defect when reviewing the material on a digital motion picturemonitor.

When the application starts, the maximum value register and minimumvalue register for each channel are initialized. The maximum valueregisters are initialized to −2. The minimum value registers areinitialized to 2. (−2 and +2 are values, which cannot be achieved by thechannels in the temporal metric calculations. The motion pictureprocessing system then performs the following steps.

Extrema definition Extrema description Z₁ = index (C^(TM) > C^(Qmax))the channel C^(TM) is the temporal metric channel image. The indexfunction returns a list of pixels where C^(TM) is larger than thecurrent value Z₂ = index (C^(TM) < C^(Qmin)) The index function returnsa list of pixels where C^(TM) is smaller than the current value.C^(Qmax)[Z₁] = C^(TM)[Z₁] update the largest value found in this channelat each pixel D^(Qmax)[Z₁] = frame update the frame where the largestvalue was found C^(Qmin)[Z₂] = C^(TM)[Z₂] update the smallest valuefound in this channel at each pixel D^(Qmin)[Z₂] = frame update theframe where the smallest value was found

After processing each channel, the processor has determined the largestand smallest value found for each pixel as well as the frame numberwhere these extrema were discovered.

The digital motion picture processor then checks to see if there isanother frame in the sequence and processes the motion picture frame.391 This process continues until all of the frames in the sequence havebeen processed.

For each channel being processed, a list of candidate defective pixelsis determined. 392 A pixel is a candidate defect if its collection ofaggregated quantiles satisfies a decision criteria. One decisioncriterion is that a sufficient number of quantile values must be greaterthan or less than a threshold. Another decision criterion is that thecollection of quantile values matches or exceeds a pre-defined quantilecollection.

Embodiments of the present invention, identify a candidate defectaccording to both persistence and severity. Persistence indicates thepercentage of frames where the defect is visible. Severity indicates themagnitude of the defect. A human operator may request a list of pixelswhere the defect appears with a temporal metric of at least 0.5 in atleast 75% of the frames. This corresponds to persistence=0.75 andseverity=0.5.

To generate the list of bright candidate defective pixels, follow thesesteps:

Bright Candidate definition Bright Candidate description Z₁ = 0initialize an array of pixel values to zero for q = severity to N forbright defects, loop over quantiles greater than or equal to the desiredseverity. Z₁ = Z₁ + F^(TM) the running count of frames where theseverity is at least the desired value. end of for loop iterate the loopfor the next value of q Z₂ = Z₁/nf the number of frames in the sequenceis nf. Z₂ is the percentage of frames where the severity is at least thedesired value. Z₃ = index the index function returns (Z₂ > persistence)the list of pixels where the persistence is greater than or equal to thedesired valueTo generate the list of dark candidate defective pixels, follow thesesimilar steps:

Dark Candidate definition Dark Candidate description Z₁= 0 initialize anarray of pixel values to zero for q = −N to severity for dark defects,loop over quantiles less than or equal to the desired severity. Z₁ =Z₁ + F^(TM) the running count of frames where the severity is at leastthe desired value. end of for loop iterate the loop for the next valueof q Z₂ = Z₁/nf the number of frames in the sequence is nf. Z₂ is thepercentage of frames where the severity is at least the desired value.Z₃ = index the index function returns the (Z₂ > persistence) list ofpixels where the persistence is greater than or equal to the desiredvalueAfter apply these steps, Z3, the list of candidate pixel is retained foreach channel:

-   R^(CL), G^(CL), B^(CL), Y^(CL)

The digital motion picture processor then assigns scores 393. Themaximal or minimal values associated with each frame (i.e. frame number)are associated with each candidate pixel as defined in the precedingstep.

To generate the score for each bright candidate pixels, the followingsteps are performed:

Bright Score definition Bright Score description Z₁ = C^(CL) the pixelsidentified as bright candidates for the channel Z₂ = C^(Qmax)(Z₁) themaximum value of the channel calculated in determining the pixel extremaevaluated at the list of pixels Z₁ Z₃ = F^(Qmax)(Z₁) the frame numberwhere the channel achieves its maximum valueTo generate the score for each dark candidate pixel, follow these steps:

Dark Score definition Dark Score description Z₁ = C^(CL) the pixelsidentified as dark candidates for the channel Z₂ = C^(Qmin)(Z₁) theminimum value of the channel calculated in determining the pixel extremaevaluated Z₃ = F^(Qmin)(Z₁) the frame number where the channel achievesits minimum value

Once the scores are generated for the sequence of frames, the processorcan output to a graphical display, various information that can bepresented to an operator to review the frames where the defects are mostsevere.

For each channel, the values Z1, Z2, and Z3 are reported to the humanoperator for review. This collection of data indicates the location ofthe candidate dead pixel, the most extreme score observed for thatpixel, and the frame where that score is observed. The human operatorcan review the select different persistence and severity scores andreview the resulting defect list. The human operator can then decide torepair some or all of the defective pixels.

The repair of the pixels can be performed using techniques known in theart including various filtering techniques, such as nearest neighborcalculations and weighted variations of nearest neighbor calculations.Provided below is an exemplary methodology for repairing the pixelvalues. This exemplary methodology is not to be considered as limitingthe scope of the invention. The repair process can be controlled by anoperator through the operator control module that provides a graphicaluser interface and accesses a repair module that may include computercode for repairing one or more pixels in one or more frames of themotion picture sequence.

In one embodiment, the frame and pixel location within the frame for adefective pixel is supplied to the repair module. The spatial metricdata values are accessed or recalculated and the color channel to beprocessed for the defective pixel is identified by the largest spatialmetric value for that pixel. It should be understood that the colorchannel with the largest spatial metric is indicative of the defect. Ifthe spatial metrics from all color channels are sufficiently large, allthree channels are processed. If all of the spatial metrics are above athreshold value, the sensor array may be experiencing a white imbalance.

In one embodiment of the invention, the repair module repairs thedefective pixel by spatial interpolation of the color channel ofinterest. When processing black or white defects, all three colorchannels are processed independently. In one embodiment of theinvention, a 7×7 region of interest centered on the pixel of interest isselected as shown in FIG. 6 A. The pixel of interest and its fournearest neighbors are repaired. The other pixels in the 7×7 neighborhoodare used to estimate the repair values. The repairs are done at thenative resolution of each color channel. In the case of Bayer patterneddata, the three color channels may have different resolutions. Theprocessing region is a 7×7 neighborhood centered at the defective pixel,indicated by d. In addition to repairing d, there are 4 additionalcentral pixels labelled r that will be repaired. The remaining pixelsare used to estimate the repair values.

To estimate the parameters of the repair in this embodiment of therepair process, relative offsets are assigned to the 49 pixels in the7×7 neighborhood as shown in FIG. 6B. In FIG. 6B, each pixel in theneighborhood is assigned a vector x=(x1, x2). Each pixel also has anobserved image value y on the channel of interest. Pixels marked with *are used to estimate the repair parameters. Pixels without a * arerepaired. Referring to the vectors x=(x1, x2) in FIG. 6B, a 44×6 matrixcalled X is created. All pixels indicated by a * have an entry in X.Each row of X is of the form:

X₁ ² X₂ ² X₁ X₂ X₁X₂ 1

So moving through FIG. 6B from left to right and top to bottom, thematrix X looks like FIG. 7. Similarly, a 5×6 matrix V representing the 5central pixels of the region is shown in FIG. 8. The pixels contributingto V represent the 5 pixels to be repaired.

An 8×6 matrix W is defined representing the 8 pixels surrounding therepair region in FIG. 9. The pixels contributing to W provide a means toseamlessly blend the repair into the background. FIG. 9B is the 7×7region surrounding the pixel of interest. The pixels labeled v will berepaired and contribute to the matrix V. The pixels labeled w are usedto blend the repair into the background and contribute to the matrix W.

The data used to estimate the repair parameters is a 44×1 vector calledY. The values of Y are extracted from the channel of interest in thesame order as the matrix X. The 6×44 matrix Z according to the formula:

Z=(X′X)⁻¹ X′

-   -   In this case, the transpose of Z is shown in FIG. 10-1, 10-2.        The parameters of the repair is a 6×1 vector called B defined        as:    -   B =ZY.    -   The repair values R are calculated as:    -   R=VB.    -   The blend values S are calculated as:    -   S=WB.

R is a 5×1 vector of repair values. S is an 8×1 vector of values used toblend the repair into the background. FIG. 11 shows how the repair andblend values are applied to the pixels surrounding the pixel of interestin the channel of interest. Values are extracted from the 5×1 vector Rand used to replace the pixel values surrounding the pixel of interest.Values are extracted from the 8×1 vector S and blended with the originalpixel values.

Once all of the pixels that are designated for repair by the operatorfor an image are repaired, the motion picture image data for the imageis stored to memory. This process can be continued until all of theframes of the sequence are repaired. The repaired and updated sequencecan then be recalled from memory for play back or for further editing.

The present invention may be embodied in many different forms,including, but in no way limited to, computer program logic for use witha processor (e.g., a microprocessor, microcontroller, digital signalprocessor, or general purpose computer), programmable logic for use witha programmable logic device (e.g., a Field Programmable Gate Array(FPGA) or other PLD), discrete components, integrated circuitry (e.g.,an Application Specific Integrated Circuit (ASIC)), or any other meansincluding any combination thereof

Computer program logic implementing all or part of the functionalitypreviously described herein may be embodied in various forms, including,but in no way limited to, a source code form, a computer executableform, and various intermediate forms (e.g., forms generated by anassembler, compiler, networker, or locator.) Source code may include aseries of computer program instructions implemented in any of variousprogramming languages (e.g., an object code, an assembly language, or ahigh-level language such as FORTRAN, C, C++, JAVA, or HTML) for use withvarious operating systems or operating environments. The source code maydefine and use various data structures and communication messages. Thesource code may be in a computer executable form (e.g., via aninterpreter), or the source code may be converted (e.g., via atranslator, assembler, or compiler) into a computer executable form.

The computer program may be fixed in any form (e.g., source code form,computer executable form, or an intermediate form) either permanently ortransitorily in a tangible storage medium, such as a semiconductormemory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-ProgrammableRAM), a magnetic memory device (e.g., a diskette or fixed disk), anoptical memory device (e.g., a CD-ROM), a PC card (e.g., PCMCIA card),or other memory device. The computer program may be fixed in any form ina signal that is transmittable to a computer using any of variouscommunication technologies, including, but in no way limited to, analogtechnologies, digital technologies, optical technologies, wirelesstechnologies, networking technologies, and internetworking technologies.The computer program may be distributed in any form as a removablestorage medium with accompanying printed or electronic documentation(e.g., shrink wrapped software or a magnetic tape), preloaded with acomputer system (e.g., on system ROM or fixed disk), or distributed froma server or electronic bulletin board over the communication system(e.g., the Internet or World Wide Web.)

Hardware logic (including programmable logic for use with a programmablelogic device) implementing all or part of the functionality previouslydescribed herein may be designed using traditional manual methods, ormay be designed, captured, simulated, or documented electronically usingvarious tools, such as Computer Aided Design (CAD), a hardwaredescription language (e.g., VHDL or AHDL), or a PLD programming language(e.g., PALASM, ABEL, or CUPL.)

While the invention has been particularly shown and described withreference to specific embodiments, it will be understood by thoseskilled in the art that various changes in form and detail may be madetherein without departing from the spirit and scope of the invention asdefined by the appended clauses. As will be apparent to those skilled inthe art, techniques described above for panoramas may be applied toimages that have been captured as non-panoramic images, and vice versa.

Embodiments of the present invention may be described, withoutlimitation, by the following clauses. While these embodiments have beendescribed in the clauses by process steps, an apparatus comprising acomputer with associated display capable of executing the process stepsin the clauses below is also included in the present invention.Likewise, a computer program product including computer executableinstructions for executing the process steps in the clauses below andstored on a computer readable medium is included within the presentinvention.

The embodiments of the invention described above are intended to bemerely exemplary; numerous variations and modifications will be apparentto those skilled in the art. All such variations and modifications areintended to be within the scope of the present invention as defined inany appended claims.

What is claimed is:
 1. A computer implemented method for checking amotion picture sensor array during filming of a motion picture, themethod comprising: receiving into a digital motion picture processor asequence of motion picture frames of pixel data to be analyzed; creatinga spatio-temporal representation of the pixel data; analyzing thespatio-temporal representation of the pixel data to determine if therepresentation exceeds a threshold; in response to an operator'sselection on a digital display, displaying for evaluation by theoperator one or more selected frames of pixel data that have anassociated spatio-temporal representation that exceeds the thresholdindicating that there is at least one defective pixel within the frame;and providing to the operator a graphical display allowing the operatorto select either to repair and store the repaired frame with thesequence of motion picture frames of pixel data or just store thesequence of motion picture frames of pixel data.